package com.shop.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * (MerchantCategory)表实体类
 *
 * @author makejava
 * @since 2020-11-21 10:31:04
 */
@Data
public class MerchantCategory extends Model<MerchantCategory> {

    private Integer id;

    private String categoryName;

    private Integer superiorId;

    private Integer createUserId;

    private Integer updateUserId;

    private String isDelete;

    private Date createTime;

    private Date updateTime;

    private String version;
    //商家id
    private Integer categoryMerchantId;
    //类别下的所有商品
    private List<MerchantGoods> merchantGoodsList;
    private Integer merchantId;

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }
}
